v1.62.0.0 feat: add /grok skill for xAI second opinion from Claude Code#2241
Open
ljodea wants to merge 1 commit into
Open
v1.62.0.0 feat: add /grok skill for xAI second opinion from Claude Code#2241ljodea wants to merge 1 commit into
ljodea wants to merge 1 commit into
Conversation
Symmetric counterpart to /codex: review (pass/fail on [P1]), adversarial challenge, and consult with session resume. Runs read-only via --permission-mode plan with bin/gstack-grok-probe for auth, timeout, and telemetry. Default headless model: grok-4.5. Also wires a grok-review row into GSTACK REVIEW REPORT, documents the skill in AGENTS.md / docs/skills.md / README, and skips /grok on non-Claude hosts (same convention as /codex). Unit tests cover the probe and host-exclusion. VERSION 1.62.0.0 (avoids open title claim on 1.61.0.0). Supersedes garrytan#2016.
|
Merging to
After your PR is submitted to the merge queue, this comment will be automatically updated with its status. If the PR fails, failure details will also be posted here |
3 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Adds
/grok— the/codextwin for an independent second opinion from Grok Build CLI while working in Claude Code.Three modes, same contract as
/codex:[P1]/[P2]findings + pass/fail gate-r/-c)Default model:
grok-4.5(overridable with-m). Always--permission-mode plan(read-only).Why this PR (not #2016)
#2016 was the first cut. It drifted (VERSION behind main, merge conflicts, process gaps) and became hard to review. This re-lands the same product on current
mainas one clean commit:/groklike/codex1.62.0.0; open title claims already use1.61.0.0)Out of scope (intentionally):
hosts/grok-build.ts) — orthogonalImplementation
grok/SKILL.md.tmplbin/gstack-grok-probe~/.grok/auth.json,$XAI_API_KEY/$GROK_API_KEY), timeout, telemetrytest/grok-hardening.test.tsscripts/resolvers/review.tsgrok-reviewrow in GSTACK REVIEW REPORThosts/*skipSkills: [..., 'grok']on every non-Claude hostUsage (after merge +
./setup)Requires
grokon PATH and auth viagrok loginor$XAI_API_KEY.Test plan
bun test test/grok-hardening.test.ts(11/11)bun test test/host-config.test.ts test/skill-validation.test.ts test/gen-skill-docs.test.ts(green;/grokClaude-only assertions)bun run gen:skill-docs --host all— nogstack-grokunder external host output dirsSupersedes #2016.